package com.tanhua.dubbo.api;

import com.tanhua.model.domian.User;

import java.util.List;

public interface UserApi {

    User findByMobile(String verificationCode);

    Long save(User user);

    void update(User user);

    List<User> findAll();


    User findById(Long userId);

    User findHuanxinId(String huanxinId);
}
